package org.huifei.a21_mediator;

/**
 * @author: huifei
 * @date: 2017-09-04 14:00
 */
public abstract class User {

    private Mediator mediator;

    public Mediator getMediator(){
        return mediator;
    }

    public User(Mediator mediator) {
        this.mediator = mediator;
    }

    public abstract void work();
}
